Unix Date From

The Unix Date From algorithm is used to convert a Unix timestamp to a Date/Time string.

 

For example, if the source data/time is specified as 1560261698 (Unix timestamp in seconds 1560261698), using this step you can convert this value to human-readable date, like, June 11, 2019 2:01:38 PM.

 

Please check some other examples below:

 

Source Column Target Column
1563204224

July 15, 2019 3:23:44 PM

1569336153 September 24, 2019 2:42:33 PM

 

To configure this manipulate step, follow the instructions below:

 

  1. In the Admin Navigation tree, select Interfaces > InterfaceName > Tasks > TaskName > Steps.
  2. On the toolbar, click New >New Manipulate Step.

Creating a New Manipulate Step

  1. Navigate to the Dates section and select Unix Date From.

Dates Section

  1. In the Unix Date From work area, fill in the following fields:

 

Fields Description

Name

Provide a distinctive name for this step.

Is Active

Select the check box to engage the scheduler for this step.

Order of Execution

Enter the order in which this step should be executed.

Filter Expression

Optional. Use this filed to filter data from the source database prior to inserting it into the Schema table.

Sort Expression

Optional. Use this field to sort data from the source database prior to inserting it into the Schema table.

Stop interface execution if query failed

Optional. If enabled, the system will stop any data manipulation if the query returns an error.

Save Schema (enabled per interface)

If selected, the schema is created for this step.

Source Column

Select the column where you will retrieve the data source. Make sure the column contains Unix timestamps.

Target Column

Select the column where you will get the converted value.

Output Format

Specify the pattern the output date/time value should match. For details on the pattern syntax, see Formatting Dates and Times

 

  1. Click the Save button.